//
//  LAGClusterAnnotation.h
//  2bulu-QuanZi
//
//  Created by 罗亮富 on 14-8-16.
//  Copyright (c) 2014年 Lolaage. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MapKit/MapKit.h>



@interface LAGClusterAnnotation : NSObject<MKAnnotation>
{
    @protected
    NSMutableArray <id<MKAnnotation>> *_childAnnotations;

}


-(nullable id)initWithChildAnnotations:(nonnull NSArray<id<MKAnnotation>> *)childAnnotations groupIdentifier:(nonnull NSString *)groupIdentifier NS_DESIGNATED_INITIALIZER;


@property (nonatomic) CLLocationCoordinate2D coordinate;

@property (nonnull, nonatomic, readonly, copy) NSArray<id<MKAnnotation>> *childAnnotations;

@property (nonnull, nonatomic, readonly) NSString * clusterGroupID;

@property (nonnull,nonatomic, strong) id<MKAnnotation> frontChildAnnotation;

@property (nullable,nonatomic, copy) NSString *title;
@property (nullable,nonatomic, copy) NSString *subtitle;



@end
